package recallin.database;


/**
 * Place is a object that includes all favorites and POI's
 * @author philipmasek
 *
 */
public class Place implements Comparable<Place>{
	
	public final static int DELETED = 1;
	public final static int NUTURAL = 0;
	public final static int NEW = -1;
	
	
	private int favorite_id;
	private String name;
	private String street;
	private String city;
	private String state;
	private String country;
	private double latitude;
	private double longitude;
	private String type;
	private String favorite_name;
	private String category;
	private int status;
	
	
	public Place() {
		// TODO Auto-generated constructor stub
	}
	public Place(int favorite_id, String name, String street, String city, 
			String country, double latitude, double longitude, String type,
			String favorite_name, int status) {
		super();
		this.favorite_id = favorite_id;
		this.name = name;
		this.street = street;
		this.city = city;
		this.state = state;
		this.country = country;
		this.latitude = latitude;
		this.longitude = longitude;
		this.type = type;
		this.favorite_name = favorite_name;
		this.status = status;
	}
	public Place(String name, String street, String city, 
			String country, double latitude, double longitude, String type,
			String favorite_name, int status) {
		super();
		this.name = name;
		this.street = street;
		this.city = city;
		this.state = state;
		this.country = country;
		this.latitude = latitude;
		this.longitude = longitude;
		this.type = type;
		this.favorite_name = favorite_name;
		this.status = status;
	}



	public String getName() {
		return name;
	}



	public void setName(String name) {
		this.name = name;
	}



	public String getStreet() {
		return street;
	}



	public void setStreet(String street) {
		this.street = street;
	}



	public String getCity() {
		return city;
	}



	public void setCity(String city) {
		this.city = city;
	}



	public String getState() {
		return state;
	}



	public void setState(String state) {
		this.state = state;
	}



	public String getCountry() {
		return country;
	}



	public void setCountry(String country) {
		this.country = country;
	}



	public double getLatitude() {
		return latitude;
	}



	public void setLatitude(double latitude) {
		this.latitude = latitude;
	}



	public double getLongitude() {
		return longitude;
	}



	public void setLongitude(double longitude) {
		this.longitude = longitude;
	}



	public String getType() {
		return type;
	}



	public void setType(String type) {
		this.type = type;
	}



	public String getFavorite_name() {
		return favorite_name;
	}



	public void setFavorite_name(String favorite_name) {
		this.favorite_name = favorite_name;
	}



	public int getStatus() {
		return status;
	}



	public void setStatus(int status) {
		this.status = status;
	}



	public Place(String name, String street, String city, String state,
			String country, double latitude, double longitude, String type,
			String favorite_name, String category) {
		super();
		this.name = name;
		this.street = street;
		this.city = city;
		this.state = state;
		this.country = country;
		this.latitude = latitude;
		this.longitude = longitude;
		this.type = type;
		this.favorite_name = favorite_name;
		this.category = category;
	}



	public String getCategory() {
		return category;
	}



	public void setCategory(String category) {
		this.category = category;
	}



	@Override
	public int compareTo(Place another) {
		return 0;
	}
	public int getFavorite_id() {
		return favorite_id;
	}
	public void setFavorite_id(int favorite_id) {
		this.favorite_id = favorite_id;
	}
	
	
	
}
